﻿using mozhi.smarterp.BasicData.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.BasicData.Products
{
    public class ProductDto : EntityDto<Guid>
    {
        public string Code { get; set; }

        public string Name { get; set; }

        public bool Activated { set; get; }

        public ProductType Type { get; set; }

        public Guid? ImageId { get; set; }

        public string BarCode { get; set; }

        public bool Saleable { get; set; }

        public bool Purchasable { get; set; }

        /// <summary>
        /// 可生产的
        /// </summary>
        public bool Producible { get; set; }

        //可生产的
        public bool Outsourceable { get; set; }

        /// <summary>
        /// 可资产
        /// </summary>
        public bool Assetable { get; set; }

        /// <summary>
        /// 基本单位
        /// </summary>
        public Guid BasicUnitId { get; set; }

        public string BasicUnitName { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Model‌ { get;  set; }

        public Guid? DefaultTaxRateId { get; set; }

        public string DefaultTaxRateName {  get; set; }
    }
}
